﻿using DotNetty.Common.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetty.Handlers;
using DotNetty.Transport.Channels;

namespace YanShu.Utils
{
    class Constants
    {
        // public static String INET_HOST = "xiaoyanshu.org";
        public static String INET_HOST = "localhost";

        public static int INET_PORT = 4399;

        public static int SIGNUP = 0;

        public static int RESET_PASSWORD = 1;

        public static  AttributeKey<IChannel> NEXT_CHANNEL = AttributeKey<IChannel>.NewInstance("nxt_channel");

        public static  AttributeKey<String> USER_ID = AttributeKey<String>.NewInstance("user_id");

        public static  AttributeKey<String> CLIENT_KEY = AttributeKey<String>.NewInstance("client_key");

    }
}
